package com.ruoyi.project.domain.query;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.base.Query;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProjectCustomQuery extends Query {

    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    //是否重新计算 1否2是
    private String refresh = "1";

    /** 往来客户id */
    @Excel(name = "往来客户id")
    private String customerId;

    /** 往来客户名称 */
    @Excel(name = "往来客户名称")
    private String customerName;

    /** 出库起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 出库截至日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库截至日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 审核状态1未审核 2审核通过 3作废 */
    @Excel(name = "审核状态1未审核 2审核通过 3作废")
    private String status;

    /** 发起人id */
    @Excel(name = "发起人id")
    private Long promoterId;

    /** 发起人姓名 */
    @Excel(name = "发起人姓名")
    private String promoterName;

    private String saleName;


    //排除自身
    private String excludeFeeKey;


}